# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        Young  
# Name:         less2_04
# Description:  匿名函数和内置函数
# Author:       asus
# Date:         2019/3/9
#-------------------------------------------------------------------------------

#lambda函数
square = lambda x: x**2
print(type(square))
print(square(5))

s = lambda a:1 if a>10 else 2
print(s(3))

#内置函数
